package com.zksb.service.impl;

import com.zksb.dao.DepartmentDao;
import com.zksb.entity.Department;
import com.zksb.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DepartmentServiceImpl implements DepartmentService {

    @Autowired
    private DepartmentDao departmentDao;

    @Override
    public Department get(int id) {
        return departmentDao.get(id);
    }
}
